package provider.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import provider.model.OrderModel;
import provider.model.entity.Order;

import java.util.Collection;

/**
 * Created by 峥桂 on 2017/9/14.
 */
@FeignClient(name = "bookingcar-service")
public interface OrderFeignService {

    @RequestMapping(value = "/v1/order/{userid}", method = RequestMethod.GET)
    public String findByUserId(@PathVariable("userid") Long userid);
}
